package com.lyf.emall.service;

import com.lyf.emall.bean.*;

/**
 * @Description:
 * @Author Lfy
 * @Date 2022/4/20-14:54
 */
public interface OrderService {

    /**
     * 获得订单列表
     * @param page
     * @return
     */
    ResponseResult getAllOrder(Page page);

    /**
     * 发货
     * @param orderList
     * @return
     */
    ResponseResult deliverGoods(OrderList orderList);

    /**
     * 修改订单备注
     * @param orderId
     * @param buyerMessage
     * @return
     */
    ResponseResult updateRemark(String orderId, String buyerMessage);

    /**
     * 取消订单
     * @param orderList
     * @return
     */
    ResponseResult cancelOrder(OrderList orderList);

    /**
     * 获得订单信息
     * @param orderId
     * @return
     */
    ResponseResult getOrderInfo(String orderId);
}
